package com.epin.business.system.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.epin.business.system.dao.ResourceMapper;
import com.epin.business.system.dao.ResourceRoleMapper;
import com.epin.business.system.entity.Resource;
import com.epin.business.system.service.ResourceService;
import com.epin.util.TreeUtil;
import com.feilong.core.bean.ConvertUtil;

/**
 * <p>
 * 资源表  服务实现类
 * </p>
 *
 * @author xj
 * @since 2016-12-20
 */
@Service
public class ResourceServiceImpl extends ServiceImpl<ResourceMapper, Resource> implements ResourceService {

	@Autowired
	private ResourceMapper resourceMapper;
	
	@Autowired
	private ResourceRoleMapper resourceRoleMapper;
	
	private static final int IS_HIDE = 1;
	
	private static final int MENU_TYPE = 1;

	@Override
	public List<Resource> findResourcesByUserId(int userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Resource> findResourcesMenuByUserId(int userId) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public List<Resource> queryResourceList(Map<String, Object> parameter) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Page<Resource> selectResourcesPage(Integer pageNumber, Integer pageSize, String keyword) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public void deleteRoleResource(int resourceId) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public List<Resource> findResourcesByType(int type) {
		// TODO Auto-generated method stub
		return null;
	}
	
	
}
